﻿using Microsoft.Extensions.Primitives;
using SUNRPA.CONTROLS.IMPL.domain.attrubutes;

namespace SUNRPA.CONTROLS.IMPL.domain.flowRunningVar {
    [ClassInfo("小数")]
    public class DoubleModel : RPAVariable {
        private double doubleValue;
        public double DoubleValue { 
            get { return doubleValue; }
            set { doubleValue = value; }
        }
        public DoubleModel(string name, double value) { 
            VarName = name;
            DoubleValue = value;   
        }
        [VariableMemberInfo("转成字符串")]
        public override string ToString() { 
            return DoubleValue.ToString();
        }
    }
}
